package edu.bailie.springmvc.controller;

import org.springframework.stereotype.Controller;
import org.springframework.web.bind.annotation.RequestMapping;

@Controller
public class HelloController {
	@RequestMapping(value="/hello")
	public String hello(){
		System.out.println("正在处理请求....");
		// 返回逻辑视图名称（决定跳转到哪个页面）
		return "first";
	}
}
